package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Table(name = "order_test")
public class OrderTest {
    @Id
    @Column(name = "order_id")
    private Integer orderId;

    @Column(name = "order_no")
    private Long orderNo;

    private BigDecimal payment;

    @Column(name = "is_adopt")
    private Integer isAdopt;

    /**
     * @return order_id
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * @param orderId
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * @return order_no
     */
    public Long getOrderNo() {
        return orderNo;
    }

    /**
     * @param orderNo
     */
    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * @return payment
     */
    public BigDecimal getPayment() {
        return payment;
    }

    /**
     * @param payment
     */
    public void setPayment(BigDecimal payment) {
        this.payment = payment;
    }

    /**
     * @return is_adopt
     */
    public Integer getIsAdopt() {
        return isAdopt;
    }

    /**
     * @param isAdopt
     */
    public void setIsAdopt(Integer isAdopt) {
        this.isAdopt = isAdopt;
    }
}